import request from '@/utils/request'

//--------------------------------试验室相关接口--------------------------------

// 查询试验室断网记录列表
export function listSiteDisconnectRecord(query) {
  return request({
    url: '/zhgd/siteDisconnectRecord/list',
    method: 'get',
    params: query
  })
}

// 查询试验室断网记录列表
export function listSiteDisconnectBhzRecord(query) {
  return request({
    url: '/zhgd/siteDisconnectRecord/bhzList',
    method: 'get',
    params: query
  })
}


// 查询试验室断网记录详细
export function getSiteDisconnectRecord(query) {
  return request({
    url: '/zhgd/siteDisconnectRecord/equipmentOffline',
    method: 'get',
    params: query
  })
}

//查询试验室断网组数据详情
export function  getSiteDisconnectDetail(query) {
  return request({
    url: '/zhgd/siteDisconnectRecord/equipmentOfflineDetail',
    method: 'get',
    params: query
  })
}

//查询试验室实时在线记录
export function  getSiteOnlineRecord(query) {
  return request({
    url: '/zhgd/siteDisconnectRecord/getSiteOnlineRecord',
    method: 'get',
    params: query
  })
}






//--------------------------------查询条件所需接口--------------------------------
// 查询混凝土拌合站工地名称
export function deptListData(query) {
  return request({
    url: '/zhgd/product/deptList',
    method: 'get',
    params: query
  })
}
